package com.mars.foodserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mars.foodserver.entity.Feedback;
import com.mars.foodserver.entity.FoodCategory;
import com.mars.foodserver.response.base.BasePageRequest;
import com.mars.foodserver.response.base.PageInfo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wq
 * @since 2021-08-07
 */
public interface IFeedbackService extends IService<Feedback> {


    /**
     * 反馈
     *
     * @param content 内容
     */
    void feedback(Integer userId, String content, String image);

    /**
     * 反馈列表
     *
     * @param basePageRequest 请求参数
     * @return PageInfo<Feedback>
     */
    PageInfo<Feedback> pageList(BasePageRequest basePageRequest);

}
